/* 头部 */

.header {
    height: 163px;
    background: #ffffff;
    border: 1px solid #000;
}

.header .container {
    margin-top: 45px;
    /* margin-bottom: 35px; */

    display: flex;
    /* justify-content: space-between; */
    align-items: center;

}


.header .container h2 {
    font-size: 30px;
    margin-right: 119px;
    color: #43200c;

}

.header .container .one {
    margin-left: 30px;
    margin-right: 27px;
}

.header .container .center {
    position: relative;


}

.header .container input {
    width: 480px;
    height: 50px;
    margin-right: 45px;
    border-radius: 50px;
    padding-left: 50px;
    background-image: url(../images/搜索.jpg);
    background-repeat: no-repeat;
    background-position-x: 12px;
    background-position-y: 15px;
    /* 复合属性怎么写的 */
    /* background:url(../images/搜索.jpg) no-repeat (repeat-x 12px,repeat-y 15px);  */
}

.header .container input ::placeholder {
    font-size: 15px;
    color: #757575;
}

.header .container button {
    width: 122px;
    height: 50px;
    border-radius: 40px;
    background: yellow;
    position: absolute;
    left: 413px;
    top: 3px;
}

/* 导航 */
.nav {
    height: 45px;
    background: #43240c;
}

.nav .container ul {
    display: flex;
    height: 45px;
    line-height: 45px;


}

.nav .container ul li {
    width: 220px;
    text-align: center;
    border: 1px solid #000;
    cursor: pointer;
}

.nav .container ul li a {
    text-decoration: none;
    color: white;
}

.active {
    background: #fee44e !important;
}

.nav .container ul li:hover {
    background: #fee44e;

}

.nav .container ul a:hover {
    background: #fee44e;
    color: black;

}

/* 详情 */


.detail {
    width: 1000px;
    margin: 20px auto;
    display: flex;
    background: #ffffff;
}

.detail .left {
    width: 500px;
    height: 500px;
    position: relative;
    /* background: pink; */
}

.detail .left .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: #ffc0cb4d;
    z-index: 2;
    display: none;
    pointer-events: none;
}

/* 放大镜样式 */
.detail .left .m-show>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 500px;
    height: 450px;
}
.detail .left .m-show{
    width: 500px;
    height: 450px;
    position: relative;
}

.detail .glass {
    position: absolute;
    left: 650px;
    width: 500px;
    height: 500px;
   border: 1px solid #000;
   overflow: hidden;
   display: none;

}
.detail .glass>img{
    position: absolute;
}

.detail .left .up {
    width: 500px;
    height: 450px;
    background: blue;
    position: relative;
}

.detail .left .up img {
    /* display: none; */
    position: absolute;
    width: 500px;
    height: 450px;
}

.detail .left ul {
    width: 500px;
    height: 50px;
    display: flex;
    /* background: red; */
}

.detail .left ul li {
    height: 50px;
    width: 100px;
    background: red;
}

.detail .left ul li img {
    height: 50px;
    width: 100px;
}

.active {
    background: blue !important;
}

.on {
    z-index: 3 !important;
}

.detail .right {
    width: 500px;
    height: 500px;
    background: #f5f5f5;
    margin-left: 25px;
    position: relative;
}

.detail .right .describe {
    font-size: 20px;
    color: #43240c;
    line-height: 40px;
    margin-top: 38px;
    margin-bottom: 25px;
}

.detail .right .oPrice {
    font-size: 12px;
    color: #b1a9a5;
    text-decoration: line-through;
    margin-bottom: 17px;
}

.detail .right .price {
    font-size: 20px;
    color: #fa585a;
}

.detail .right .cart button {
    width: 225px;
    height: 50px;
    background: #fa585a;
    border-radius: 10px;
    cursor: pointer;
    float: left;
}

.detail .right .cart2 button {
    width: 225px;
    height: 50px;
    background: #fa585a;
    border-radius: 10px;
    cursor: pointer;
    float: right;
}